package com.adinnet.api.child.model.vo;

import com.adinnet.core.PageParam;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @program: adinnet-root
 * @description: 儿童排行榜分页请求参数
 * @author: chenjia
 * @create: 2020/12/07
 **/
@Data
public class ChildRankPageReq implements Serializable {

    /**
     * 宝宝id
     */
    @NotNull(message = "儿童id不能为空")
    private Integer childId;

    /**
     * 页码
     */
    @NotNull(message = "页码不能为空")
    private Integer page;


    /**
     * 每页条数
     */
    @NotNull(message = "每页条数不能为空")
    private Integer limit;



}
